home *** CD-ROM | disk | FTP | other *** search
/ Otherware / Otherware_1_SB_Development.iso / mac / misc / chemistr / chem101.sit / Chem 101 / card_3700.txt < prev    next >
Text File  |  1989-08-27  |  6KB  |  292 lines

  1. -- card: 3700 from stack: in
  2. -- bmap block id: 3891
  3. -- flags: 4000
  4. -- background id: 2720
  5. -- name: Introduction
  6.  
  7.  
  8. -- part 9 (button)
  9. -- low flags: 00
  10. -- high flags: 0001
  11. -- rect: left=224 top=308 right=331 bottom=251
  12. -- title width / last selected line: 0
  13. -- icon id / first selected line: 0 / 0
  14. -- text alignment: 1
  15. -- font id: 0
  16. -- text size: 12
  17. -- style flags: 0
  18. -- line height: 16
  19. -- part name: Next
  20. ----- HyperTalk script -----
  21. on mouseUp
  22.  
  23. end mouseUp
  24.  
  25.  
  26.  
  27. -- part 23 (button)
  28. -- low flags: 00
  29. -- high flags: A002
  30. -- rect: left=283 top=223 right=254 bottom=443
  31. -- title width / last selected line: 0
  32. -- icon id / first selected line: 0 / 0
  33. -- text alignment: 1
  34. -- font id: 0
  35. -- text size: 12
  36. -- style flags: 8192
  37. -- line height: 16
  38. -- part name: Workbook Demo
  39. ----- HyperTalk script -----
  40. on mouseUp
  41.   visual effect dissolve
  42.   go to card "Workbook Demo"
  43. end mouseUp
  44.  
  45.  
  46.  
  47. -- part 20 (button)
  48. -- low flags: 00
  49. -- high flags: 2000
  50. -- rect: left=258 top=308 right=331 bottom=283
  51. -- title width / last selected line: 0
  52. -- icon id / first selected line: 1013 / 1013
  53. -- text alignment: 1
  54. -- font id: 0
  55. -- text size: 12
  56. -- style flags: 0
  57. -- line height: 16
  58. -- part name: Next
  59. ----- HyperTalk script -----
  60. on mouseUp
  61.   visual effect wipe left
  62.   go to next card
  63. end mouseUp
  64.  
  65.  
  66.  
  67. -- part 24 (button)
  68. -- low flags: 00
  69. -- high flags: A002
  70. -- rect: left=74 top=125 right=156 bottom=234
  71. -- title width / last selected line: 0
  72. -- icon id / first selected line: 0 / 0
  73. -- text alignment: 1
  74. -- font id: 0
  75. -- text size: 12
  76. -- style flags: 8192
  77. -- line height: 16
  78. -- part name: How to use Chem 101
  79. ----- HyperTalk script -----
  80. on mouseUp
  81.   visual effect dissolve
  82.   go to cd "How to Use"
  83. end mouseUp
  84.  
  85.  
  86.  
  87. -- part 25 (button)
  88. -- low flags: 80
  89. -- high flags: 2004
  90. -- rect: left=11 top=241 right=283 bottom=60
  91. -- title width / last selected line: 0
  92. -- icon id / first selected line: 23662 / 23662
  93. -- text alignment: 1
  94. -- font id: 0
  95. -- text size: 12
  96. -- style flags: 8192
  97. -- line height: 16
  98. -- part name: Chem 101
  99. ----- HyperTalk script -----
  100. on mouseUp
  101.   go to stack "Chem 101"
  102. end mouseUp
  103.  
  104.  
  105.  
  106. -- part 26 (button)
  107. -- low flags: 00
  108. -- high flags: A002
  109. -- rect: left=74 top=222 right=253 bottom=234
  110. -- title width / last selected line: 0
  111. -- icon id / first selected line: 0 / 0
  112. -- text alignment: 1
  113. -- font id: 0
  114. -- text size: 12
  115. -- style flags: 8192
  116. -- line height: 16
  117. -- part name: Install in Home
  118. ----- HyperTalk script -----
  119. on mouseUp
  120.   put "The Chem 101 button will be placed on the first card of the Home Stack."
  121.   set the visible of cd btn "Chem 101" to true
  122.   wait 2 sec
  123.   answer "Install the Chem 101 button?" with "install"or "cancel"
  124.   set the visible of cd btn "Chem 101" to false
  125.   hide message
  126.   if it is "cancel" then exit mouseup
  127.   set lockscreen to true
  128.   set cursor to 4
  129.   select cd btn "Chem 101"
  130.   domenu Copy Button
  131.   set the visible of cd btn "Chem 101" to false
  132.   go home
  133.   domenu Paste Button
  134.   set lockscreen to false
  135.   set cursor to 5
  136.   repeat
  137.     set the loc of button "Chem 101" to the mouseloc
  138.     put the mouseloc into temploc
  139.     put "Place mouse at the desired location and then click"
  140.     wait until the mouseloc Γëá temploc
  141.     hide msg
  142.     repeat until the mouseclick
  143.       set the loc of button "Chem 101" to the mouseloc
  144.     end repeat
  145.     choose browse tool
  146.     answer "Is it at the desired location ? " with "No" or "Yes"
  147.     if it is "Yes" then exit repeat
  148.     else choose button tool
  149.   end repeat
  150.  
  151. end mouseUp
  152.  
  153.  
  154.  
  155. -- part 29 (button)
  156. -- low flags: 00
  157. -- high flags: A002
  158. -- rect: left=74 top=176 right=205 bottom=234
  159. -- title width / last selected line: 0
  160. -- icon id / first selected line: 0 / 0
  161. -- text alignment: 1
  162. -- font id: 0
  163. -- text size: 12
  164. -- style flags: 8192
  165. -- line height: 16
  166. -- part name: Credits
  167. ----- HyperTalk script -----
  168. on mouseUp
  169.   visual effect dissolve
  170.   go to card credits
  171. end mouseUp
  172.  
  173.  
  174.  
  175. -- part 31 (button)
  176. -- low flags: 00
  177. -- high flags: A002
  178. -- rect: left=283 top=174 right=205 bottom=443
  179. -- title width / last selected line: 0
  180. -- icon id / first selected line: 0 / 0
  181. -- text alignment: 1
  182. -- font id: 0
  183. -- text size: 12
  184. -- style flags: 8192
  185. -- line height: 16
  186. -- part name: Workbook
  187. ----- HyperTalk script -----
  188. on mouseUp
  189.   visual effect dissolve
  190.   go to cd "Workbook"
  191. end mouseUp
  192.  
  193.  
  194.  
  195.  
  196.  
  197. -- part 32 (button)
  198. -- low flags: 00
  199. -- high flags: A002
  200. -- rect: left=283 top=125 right=156 bottom=443
  201. -- title width / last selected line: 0
  202. -- icon id / first selected line: 0 / 0
  203. -- text alignment: 1
  204. -- font id: 0
  205. -- text size: 12
  206. -- style flags: 8192
  207. -- line height: 16
  208. -- part name: Elements
  209. ----- HyperTalk script -----
  210. on mouseUp
  211.   visual effect dissolve
  212.   go to cd "Periodic Table"
  213. end mouseUp
  214.  
  215.  
  216.  
  217. -- part 41 (field)
  218. -- low flags: 01
  219. -- high flags: 0000
  220. -- rect: left=111 top=266 right=313 bottom=417
  221. -- title width / last selected line: 0
  222. -- icon id / first selected line: 0 / 0
  223. -- text alignment: 0
  224. -- font id: 0
  225. -- text size: 12
  226. -- style flags: 8192
  227. -- line height: 16
  228. -- part name: calc
  229.  
  230.  
  231. -- part 44 (button)
  232. -- low flags: 00
  233. -- high flags: 0001
  234. -- rect: left=46 top=300 right=334 bottom=128
  235. -- title width / last selected line: 0
  236. -- icon id / first selected line: 0 / 0
  237. -- text alignment: 1
  238. -- font id: 0
  239. -- text size: 12
  240. -- style flags: 0
  241. -- line height: 16
  242. -- part name: 
  243.  
  244.  
  245. -- part 45 (button)
  246. -- low flags: 00
  247. -- high flags: 2000
  248. -- rect: left=283 top=125 right=156 bottom=323
  249. -- title width / last selected line: 0
  250. -- icon id / first selected line: 1141 / 1141
  251. -- text alignment: 1
  252. -- font id: 0
  253. -- text size: 12
  254. -- style flags: 0
  255. -- line height: 16
  256. -- part name: Periodic Table
  257. ----- HyperTalk script -----
  258. on mouseUp
  259.   visual effect dissolve
  260.   go to cd "Periodic Table"
  261. end mouseUp
  262.  
  263.  
  264.  
  265.  
  266.  
  267. -- part 46 (button)
  268. -- low flags: 00
  269. -- high flags: 2000
  270. -- rect: left=283 top=174 right=205 bottom=320
  271. -- title width / last selected line: 0
  272. -- icon id / first selected line: 17400 / 17400
  273. -- text alignment: 1
  274. -- font id: 0
  275. -- text size: 12
  276. -- style flags: 0
  277. -- line height: 16
  278. -- part name: Workbook
  279. ----- HyperTalk script -----
  280. on mouseUp
  281.   visual effect dissolve
  282.   go to cd "Workbook"
  283. end mouseUp
  284.  
  285.  
  286.  
  287.  
  288.  
  289. -- part contents for background part 17
  290. ----- text -----
  291. Introduction
  292.